import {storeA} from '../piniaStore/storeA'
const piniaStoreA = storeA()
function flash(){
    if(localStorage.getItem("User")!=null){
        piniaStoreA.user = JSON.parse(localStorage.getItem("User")as string)   
        return JSON.parse(localStorage.getItem("User")as string)
      }
}
export default flash